import getlink from "@/api/getapi.js"

let fl={
    state:{
        arr:[]
    },
    mutations:{
        change(state,payload){
            state.arr=payload
        }
    },
    actions:{
        FLe(context,payload){
            getlink(payload).then((ok)=>{
                // console.log(ok)
                context.commit("change",ok.data)
            })
            
        }

    }
}
    export default fl